//
//  HTMUserDefaultManager.h
//  QVBusUser
//
//  Created by Ting Han on 2017/7/24.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HTMUserDefaultManager : NSObject

/**
 *  存储用户偏好设置 到 NSUserDefults
 */
+ (void)saveUserData:(id)data forKey:(NSString*)key;
+ (void)saveUserIntegerData:(NSInteger)data forKey:(NSString *)key;
/**
 *  读取用户偏好设置
 */
+(id)readUserDataForKey:(NSString*)key;
+ (NSInteger)readUserIntegerForKey:(NSString *)key;

/**
 *  删除用户偏好设置
 */
+(void)removeUserDataForkey:(NSString*)key;
/**
 缓存文件的大小
 */
+(long long)fileCatchSize;



@end
